### Function Description

Generate the local file upload URL.

### Request Parameters

#### Interface parameters

| Fields         | Type      | Required | Description                                                                                                 |
|----------------|-----------|----------|-------------------------------------------------------------------------------------------------------------|
| bk_scope_type  | string    | yes      | Resource scope type. Optional values: biz - Business，biz_set - Business Set                                 |
| bk_scope_id    | string    | yes      | Resource scope ID. Corresponds to bk_scope_type, which means business ID or business set ID                 |
| bk_biz_id      | long      | yes      | Deprecated. Business ID. This field has been deprecated and replaced by the field bk_scope_type+bk_scope_id |
| file_name_list | string [] | yes      | List of file names to upload                                                                                |

### Example of request

```json
{
    "bk_scope_type": "biz",
    "bk_scope_id": "1",
    "file_name_list": [
        "file1.txt",
        "file2.txt"
    ]
}
```

### Example of responses

```json
{
    "result": true,
    "code": 0,
    "data": {
        "url_map": {
            "file1.txt": {
                "upload_url": "http://bkrepo.com/generic/temporary/upload/bkjob/localupload/1/008f821f-259b-4f62-bd84-1e89d6f05f0d/admin/file1.txt?token=30adf862fdce4b02b909e6a1a1c762c6",
                "path": "1/008f821f-259b-4f62-bd84-1e89d6f05f0d/admin/file1.txt"
            },
            "file2.txt": {
                "upload_url": "http://bkrepo.com/generic/temporary/upload/bkjob/localupload/1/008f821f-259b-4f62-bd84-1e89d6f05f0d/admin/file2.txt?token=30adf862fdce4b02b909e6a1a1c762c6",
                "path": "1/008f821f-259b-4f62-bd84-1e89d6f05f0d/admin/file2.txt"
            }
        }
    },
    "job_request_id": "xxx"
}
```

### Response Description

{% include '_generic_response.md.j2' %}

#### data

| Fields  | Type | Never null | Description                                                                                                                                                                 |
|---------|------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| url_map | map  | yes        | key: file name passed in, value: Upload_url is the file upload address with credentials, and path is the path to the file distribution interface when distributing the file |
